package com.zelin.service.impl;

import com.zelin.dao.ClassDao;
import com.zelin.dao.impl.ClassDaoImpl;
import com.zelin.pojo.Classes;
import com.zelin.service.ClassService;

import java.sql.SQLException;
import java.util.List;

/**
 * @Auther zxh
 * @Date 2020/9/28下午 8:21
 */
public class ClassServiceImpl implements ClassService {
    private ClassDao classDao = new ClassDaoImpl();
    @Override
    public List<Classes> find() throws SQLException {
        return classDao.find();
    }
}
